{include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/header.html"}
{literal}
<script type="text/javascript">
    $(function(){
        $('.assortment').hover(function(){
            $('.assort_list').stop().fadeIn();
        },function(){
            $('.assort_list').stop().fadeOut();
        });
    });
</script>
<script type="text/javascript" src="/js/shopcart.js"></script>
<script type="text/javascript" src="/js/principal.js"></script>
<script type="text/javascript" src="/js/jquery.qrcode.min.js"></script>
<script type='text/javascript' src='/js/jquery.zclip.min.js'></script>
<script type="text/javascript">
    $(function() {
        $('#copy').zclip({
            path: '/js/ZeroClipboard.swf', //flash地址
            copy: function() { //复制返回值
                return $('#content').html();
            },
            afterCopy: function() { //复制后操作方法
                alert("复制成功,粘贴使用");
            }
        });
    });
</script>
<script type="text/javascript">
    $(function(){
        var content=$(".supply_gray").html();
        $('#qrcode').qrcode({width:150,height:150,correctLevel:0,text:content});
    });
</script>
<style>
    .assort_list{display: none;}
</style>
{/literal}


<div class="search_list">

    <div class="crumbs_tmg" style="padding-top:0;">当前位置：<a href="#">首页</a><i class="ffs">></i><a href="#">供应商报价</a><i class="ffs">></i><span class="blue">{$busi_info.business_name}</span></div>

    <div class="supply_company">
        <div class=" fl">
            <h3 class="fs24 blue">{$busi_info.business_name}</h3>
            <p class="pt20"><span class="pr20">主营品种：{$busi_info.main_variety}</span><span class="pr20">上传者：{$busi_info.contacts}</span><span class="pr20">电话：</span><span class="pr20">上传时间：{$busi_info.quotation_update_time}</span></p>
            <p class="pt20">供应商报价网址：<span id="content" class="supply_gray">http://www.suliaojiaoyi.com/supplylist?id={$busi_info.id}</span><a href="" id="copy" class="supply_copy">一键复制链接</a></p>
            <p class="pt20">报价单共下载 <span class="orange fwb">{$busi_info.visit}</span> 次</p>
            <p class="pt20"><a href="/supply/downsupply?id={$busi_info.id}" class="supply_download">下 载</a></p>
        </div>
        <div class="fr tac">

            <div id="qrcode"></div>
            <p class="pt10">手机扫一扫，直接看页面</p>
            <div class="pt10">
                <div class="bshare-custom"><a title="分享到微信" class="bshare-weixin"></a><a title="分享到QQ空间" class="bshare-qzone"></a><a title="分享到新浪微博" class="bshare-sinaminiblog"></a><a title="分享到人人网" class="bshare-renren"></a><a title="分享到腾讯微博" class="bshare-qqmb"></a><a title="分享到网易微博" class="bshare-neteasemb"></a><a title="更多平台" class="bshare-more bshare-more-icon more-style-addthis"></a></div><script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/buttonLite.js#style=-1&amp;uuid=&amp;pophcol=1&amp;lang=zh"></script><script type="text/javascript" charset="utf-8" src="http://static.bshare.cn/b/bshareC0.js"></script>
            </div>
        </div>
    </div>
    <div class="supply_content">
        <h3 class="supply_content_h3"><span class="fl">报价牌号信息</span>
            <div class="ppld_flip">
                {$link_url}
            </div>
        </h3>

        <div class="supply_ct">
            <span class="items sup_0">品种</span>
            <span class="items sup_1">牌号</span>
            <span class="items sup_2">厂商</span>
            <span class="items sup_3">单价</span>
            <span class="items sup_4">数量（吨）</span>
            <span class="items sup_5">交易类型</span>
            <span class="items sup_6">交货地</span>
            <span class="items sup_7">交货时间</span>
            <span class="items sup_8">发布时间</span>
            <span class="items sup_9">操作</span>
        </div>
        <ul>
            {if !$supply_info}
            <li>暂无信息</li>
            {else}
            {foreach from=$supply_info key=key item=item}
            <li class="supply_pt">
                <span class="items sup_0">{$item.cate_name}</span>
                <span class="items sup_1">{$item.product_name}</span>
                <span class="items sup_2">{$item.brand_name}</span>
                <span class="items sup_3 orange">{$item.currency_mark}{$item.price}</span>
                <span class="items sup_4">{$item.num}</span>
                <span class="items sup_5">{$item.service_name}</span>
                <span class="items sup_6">{$item.area_name}</span>
                <span class="items sup_7">{$item.delivery_time}</span>
                <span class="items sup_8">{$item.update_time}</span>
                <span class="items sup_9"><a href="http://wpa.qq.com/msgrd?v=3&uin={$item.qq}&site=qq&menu=yes" target="_blank">洽谈</a><a href="javascript:void(0)" buy_id="{$item.id}" class="buy">购买</a></span>
            </li>
            {/foreach}
            {/if}
        </ul>

    </div>

    <div class="page tar ptb10p" id="page">{$links}</div>
</div>

{include file = $smarty.const.APPLICATION_PATH|cat:"/application/views/footer.html"}